package service.sys;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.common.BaseMapper;
import com.common.BaseService;

import mapper.sys.RoleMapper;

@Service
@Transactional
public class RoleServiceImpl <T> extends BaseService<T>{
	@Autowired
	private RoleMapper<T> roleMapper;

	@Override
	public BaseMapper<T> getMapper() {
		return roleMapper;
	}

	public void deletes(String[] ids) {
		roleMapper.batchDeletes(ids);
	}
}
